var schema = {};
schema.addCity = function(city) {
   schema[city] = {};
   schema[city].addLine = function(line) {
      schema[city][line] = [];
      schema[city][line].name = line.name;      
      schema[city][line].addStation = function(station) {
         schema[city][line].push(station);
      };
   };
};